<template>
    <div class="box">
        <h1>{{title}}</h1>
        <slot></slot>
    </div>
</template>

<script>
    export default {
        name : 'Gege',
        data() {
            return {
                count: 0
            }
        },
        props:['title']
    }
</script>

<style scoped>
.box{
    width: 200px;
    height: 400px;
    background: skyblue;
}
.box h1{
    height: 50px;
    background: yellowgreen;
    text-align: center;
}
</style>